﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace AuctionModel
{
    public class Auction
    {
        public int ID { get; set; }
        public DateTime Date { get; set; }
        public string Title { get; set; }
        public string Description { get; set; }
        public List<Item> Items { get; set; }


        public Auction(string description, List<Item> items, string title, int id)
        {
            ID = id;
            Title = title;
            Description = description;
            Items = items;
           
            
        }

        public Auction()
        {
            
        }
    }
}
